From: Peter Große Date: Mon, 12 Jun 2017 23:05:20 +0000 (+0200) Subject: libxenstat: use python detected by configure for python bindings X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~2048 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=b2107b79b006ded5cf2ef41ac65399c3e629f693;p=xen.git libxenstat: use python detected by configure for python bindings Signed-off-by: Peter Große Acked-by: Wei Liu --- diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile index 85cec63ebf..08b0f35172 100644 --- a/tools/xenstat/libxenstat/Makefile +++ b/tools/xenstat/libxenstat/Makefile @@ -102,7 +102,7 @@ $(BINDINGS): $(SHLIB) $(SHLIB_LINKS) src/xenstat.h SWIG_FLAGS=-module xenstat -Isrc # Python bindings -PYTHON_VERSION=2.3 +PYTHON_VERSION=$(PYTHON:python%=%) PYTHON_FLAGS=-I/usr/include/python$(PYTHON_VERSION) -lpython$(PYTHON_VERSION) $(PYMOD): $(PYSRC) $(PYSRC): bindings/swig/xenstat.i